package com.key.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 *  * @Author: tc
 *  * @CreateTime: 2023-02-17  11:45
 */
@ApiModel("借用信息实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BorrowAssets {

  @ApiModelProperty(name = "borrowId",notes = "borrowId",dataType = "Integer")
  private Integer borrowId;
  @ApiModelProperty(name = "state",notes = "办理状态",dataType = "String")
  private String state;
  @ApiModelProperty(name = "borrowNumber",notes = "借用单号",dataType = "String")
  private String borrowNumber;
  @ApiModelProperty(name = "borrower",notes = "借用人",dataType = "String")
  private String borrower;
  @ApiModelProperty(name = "borrowCompany",notes = "借用后使用公司",dataType = "String")
  private String borrowCompany;
  @ApiModelProperty(name = "borrowDepartment",notes = "借用后使用部门",dataType = "String")
  private String borrowDepartment;
  @ApiModelProperty(name = "borrowerStoragePoint",notes = "借用后存放地",dataType = "String")
  private String borrowerStoragePoint;
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  @ApiModelProperty(name = "borrowDate",notes = "借用日期",value = "yyyy-MM-dd")
  private Timestamp borrowDate;
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  @ApiModelProperty(name = "estimatedReturnTime",notes = "预计归还时间",value = "yyyy-MM-dd")
  private Timestamp estimatedReturnTime;
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  @ApiModelProperty(name = "actualReturnTime",notes = "实际归还时间",value = "yyyy-MM-dd")
  private Timestamp actualReturnTime;
  @ApiModelProperty(name = "handlers",notes = "处理人",dataType = "String")
  private String handlers;
  @ApiModelProperty(name = "approveProgress",notes = "审批进度",dataType = "String")
  private String approveProgress;
  @ApiModelProperty(name = "sign",notes = "签收状态",dataType = "String")
  private String sign;
   @ApiModelProperty(name = "borrowRemarks",notes = "借用备注",dataType = "String")
  private String borrowRemarks;




}
